<?php
require_once("connection.php");
function searchFlower($name, $size){
	$searchFlower = "SELECT * FROM flowers WHERE flowers.fname = '$name' AND flowers.size = '$size'";
	$result = mysql_query($searchFlower); 
	//$flower = mysql_fetch_array($result);
	if (!$result){
		die('Error in searchFlower:'. mysql_error());
	}
	$flowerinfo = mysql_fetch_array($result);
	return $flowerinfo;
}
?>